
<section class="wrapper">


    <div class="col-lg-12">
        <!--work progress start-->
        <section class="panel">

            <div class="inbox-head">
                <h3>SITE LOGO</h3>
            </div>



            <div class="panel-body">

                <div class="col-xs-12 clearfix">


<form class="form-horizontal" role="form" method="POST" enctype="multipart/form-data" action="<?= base_url(); ?>secure/settings/do_upload">
    <?php
    if ($this->session->flashdata('message')) {
        $msg = $this->session->flashdata('message');
        echo '<font color="red">' . $msg . '</font>';
    }
    ?>
    <div class="form-group">
        <label for="input" class="col-lg-2">Site Logo </label>

        <div class="col-lg-6">

            <input type="file" name="userfile" value="Browse" />
            <input type="hidden" name="id">

        </div>
        <div class="col-lg-2">
            <img class="img-responsive" src="<?= base_url();?>assets/img/<?= $this->admin_settings_model->get_setting('site_logo');?>">
        </div>

    </div>
    <div class="form-group">
        <div class="col-lg-offset-2 col-lg-10">
            <button type="submit" name="upload" class="btn btn-danger" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');"  >Add Logo</button>
        </div>
    </div>


</form>
                    </div>
                </div>
            </section>
        </div>
    </section>
